package cn.edu.scnu.semart.message.service;

import cn.edu.scnu.semart.model.chat.ChatMessage;
import java.util.List;

public interface ChatMessageService {
    void saveMessageToRedis(ChatMessage message);
    void saveMessagesToMySQL(List<ChatMessage> messages);
    List<ChatMessage> getMessagesFromRedis(String conversationKey);
    void removeMessagesFromRedis(String conversationKey);
} 